import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;


@Entity
public class Room_user {
private int id;                     
private String idcard; 

private int roomid;                            
private String starttime;         
private String leavetime;           
private int status;                 
private int day;                    
public int getDay() {
	return day;
}
public void setDay(int day) {
	this.day = day;
}
public int getStatus() {
	return status;
}
public void setStatus(int status) {
	this.status = status;
}
@Id 
@GeneratedValue  
public int getId() {
	return id;
}
public void setId(int id) {
	this.id = id;
}
public String getIdcard() {
	return idcard;
}
public void setIdcard(String idcard) {
	this.idcard = idcard;
}
public int getRoomid() {
	return roomid;
}
public void setRoomid(int roomid) {
	this.roomid = roomid;
}
public String getStarttime() {
	return starttime;
}
public void setStarttime(String starttime) {
	this.starttime = starttime;
}
public String getLeavetime() {
	return leavetime;
}
public void setLeavetime(String leavetime) {
	this.leavetime = leavetime;
}
@Override
public String toString() {
	return "Room_user [day=" + day + ", id=" + id + ", idcard=" + idcard
			+ ", leavetime=" + leavetime + ", roomid=" + roomid
			+ ", starttime=" + starttime + ", status=" + status + "]";
}
}